package com.gugee.tiktok.common.model.dal.music;

import com.gugee.tiktok.common.model.mysql.Music;
import com.gugee.tiktok.common.model.spider.aweme.Aweme_list;

import java.util.List;
import java.util.Map;

public interface MusicExtRepository {
    List<Music> findByMid(List<Music> music);
    Map<String,Object> getBelongRegion(long mid,int day);
    List<Map<String,Object>> getBelongType(long mid,int day);
    void batchUpdate(List<Music> musics);
    void batchInsert(List<Music> musics);
    void batchSaveMusicFromAwemes(List<Aweme_list> awemes);

    List<Map<String, Object>> getRegionDistribution(long musicId, long beforeDaySecond);

    List<Map<String, Object>> getIndustryDistribution(long musicId,long beforeDaySecond);
}
